
using System;
using System.Collections.Generic;
using System.Text;

using SD.LLBLGen.Pro.ORMSupportClasses;
using DatabaseAdapter;
using DatabaseGeneric;
using DatabaseGeneric.FactoryClasses;
using DatabaseGeneric.EntityClasses;
using DatabaseGeneric.RelationClasses;
using DatabaseGeneric.HelperClasses;

namespace Interfaces
{
    public interface ISanPhamGotChe
    {
        EntityCollection<SanPhamGotCheEntity> FetchCollection();
        EntityCollection<SanPhamGotCheEntity> FetchCollection(ChungLoaiSanPhamEntity currentEntityChungLoaiSanPham);
        //EntityCollection<SanPhamGotCheEntity> FetchCollection(string criteria, int option);
        SanPhamGotCheEntity FetchEntity(SanPhamGotCheEntity currentEntitySanPhamGotChe);
        int SaveCollection(EntityCollection<SanPhamGotCheEntity> currentCollectionSanPhamGotChe);
        bool SaveEntity(SanPhamGotCheEntity currentEntitySanPhamGotChe);
        int DeleteCollection(EntityCollection<SanPhamGotCheEntity> currentCollectionSanPhamGotChe);
        bool DeleteEntity(SanPhamGotCheEntity currentEntitySanPhamGotChe);
        System.Data.DataTable Report(ChungLoaiSanPhamEntity currentEntityChungLoaiSanPham);
    }
}

